<template>
	 <!-- 弹框 -->
	 <view class="my_popup_wd_box" :class="{my_on:true}" v-show="inshow_box">
	 	<view class="my_empty-box">
	 		<view class="box-main">
	 			 <view class="icon-tips" @click="closeBox"><text>×</text></view>
	 			 <view class="dialog_content">
	 			 	  <text>{{dialog_name}}</text>
	 			 		<view class="dialog_list">
	 			 			{{dialog_content}}
	 			 		</view>
	 			 		<view v-if="dialog_btn != ''" class="make-order">{{dialog_btn}}</view>
	 			 </view>
	 		</view>
	 	</view>
	 </view>
</template>

<script>
export default {
	props:{
		dialog_name:{
			type: String,
			default: ''
		},
		dialog_content:{
			type: String,
			default: ''
		},
		dialog_btn:{
		  type: String,
		  default: ''	
		},
		inshow_box:{
			type: Boolean,
			default: ''
		}
	},
	
	data() {
		return{
		}
	},
	
	methods: {
		closeBox () {
			this.$emit('closeDialogBox',false)
		}
	}
}
</script>

<style lang="scss" scoped>
</style>
